package com.ms.service;

import com.ms.pojo.AttendanceRecord;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface AttendanceRecordService {
    void initDailyAttendance();

    /**
     * 员工签到
     */
    AttendanceRecord checkIn(Integer empId);

    /**
     * 员工签退
     */
    AttendanceRecord checkOut(Integer empId);

    /**
     * 获取员工当天考勤状态
     */
    AttendanceRecord getTodayAttendance(Integer empId);

    /**
     * 获取所有员工考勤记录
     */
    List<AttendanceRecord> getAllRecords();


}
